package com.medical.Service;


import com.medical.DTO.EmployeeDTO;
import com.medical.DTO.EmployeePageDTO;
import com.medical.DTO.LoginDTO;
import com.medical.VO.LoginVO;
import com.medical.result.PageResult;

import java.util.List;

public interface EmployeeService {

    /**
     * 员工登录
     * @param
     * @return
     */
    LoginVO login(LoginDTO loginDTO);


    /**
     * 新增员工注册
     * @param employee
     * @return
     */
    void addEmployee(EmployeeDTO employee);

    /**
     * 删除员工
     * @param ids
     * @return
     */
    void deleteEmployee(List<Integer> ids);

    /**
     * 修改员工信息
     * @param employee
     * @return
     */
    void updateEmployee(EmployeeDTO employee);

    /**
     * 获取员工列表
     * @param employeePage
     * @return
     */
    PageResult page(EmployeePageDTO employeePage);
}
